projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef55e84
)
avr32:portmux: fix setup for macb1
author
Andreas Bießmann
<
[email protected]
>
Thu, 16 Aug 2012 02:19:19 +0000
(
02:19
+0000)
committer
Andreas Bießmann
<
[email protected]
>
Mon, 3 Sep 2012 21:37:16 +0000
(23:37 +0200)
Use portd_mask instead of portc_mask to setup the pins for port D.
Signed-off-by: Andreas Bießmann <
[email protected]
>
arch/avr32/cpu/at32ap700x/portmux.c
patch
|
blob
|
history
diff --git
a/arch/avr32/cpu/at32ap700x/portmux.c
b/arch/avr32/cpu/at32ap700x/portmux.c
index e3e38a2a75726a348a3d9f9861e43803319873c8..7eb42de06194c5ca45ca378a5264b5b642f7ba72 100644
(file)
--- a/
arch/avr32/cpu/at32ap700x/portmux.c
+++ b/
arch/avr32/cpu/at32ap700x/portmux.c
@@
-122,7
+122,7
@@
void portmux_enable_macb1(unsigned long flags, unsigned long drive_strength)
portd_mask |= (1 << 15);/* SPD */
/* REVISIT: Some pins are probably pure outputs */
- portmux_select_peripheral(PORTMUX_PORT_D, port
c
_mask,
+ portmux_select_peripheral(PORTMUX_PORT_D, port
d
_mask,
PORTMUX_FUNC_B, PORTMUX_BUSKEEPER);
portmux_select_peripheral(PORTMUX_PORT_C, portc_mask,
PORTMUX_FUNC_B, PORTMUX_BUSKEEPER);